package com.junzhiit.nengji.api.web.vo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.bainaeco.framework.base.BaseObject;
import com.bainaeco.framework.util.DateUtil;
import com.bainaeco.framework.util.serializer.CustomDateSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

public class CouponsDetailsVO extends BaseObject {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String id;
	
	private String shopId;
	
	private String faceValue;
	
	private String couponsName;
	
	private Integer couponsType;
	
	private Integer isOpenRandom;
	
	private Integer platform;
	
	private String ownName;
	
	private String remarks;
	
	@DateTimeFormat(pattern = DateUtil.DATE_PATTERN_DEFAULT)
	@JsonSerialize(using = CustomDateSerializer.class)
	private Date validEndTime;
	
	private Integer threshold;
	
	private Double fullPriceReduction;
	
	private Integer isChain;
	
	private String chainId;

	public Integer getPlatform() {
		return platform;
	}

	public void setPlatform(Integer platform) {
		this.platform = platform;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getFaceValue() {
		return faceValue;
	}

	public void setFaceValue(String faceValue) {
		this.faceValue = faceValue;
	}

	public String getCouponsName() {
		return couponsName;
	}

	public void setCouponsName(String couponsName) {
		this.couponsName = couponsName;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public Date getValidEndTime() {
		return validEndTime;
	}

	public void setValidEndTime(Date validEndTime) {
		this.validEndTime = validEndTime;
	}

	public Integer getIsOpenRandom() {
		return isOpenRandom;
	}

	public void setIsOpenRandom(Integer isOpenRandom) {
		this.isOpenRandom = isOpenRandom;
	}

	public String getOwnName() {
		return ownName;
	}

	public void setOwnName(String ownName) {
		this.ownName = ownName;
	}

	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId;
	}

	public Integer getCouponsType() {
		return couponsType;
	}

	public void setCouponsType(Integer couponsType) {
		this.couponsType = couponsType;
	}

	public Integer getThreshold() {
		return threshold;
	}

	public void setThreshold(Integer threshold) {
		this.threshold = threshold;
	}

	public Double getFullPriceReduction() {
		return fullPriceReduction;
	}

	public void setFullPriceReduction(Double fullPriceReduction) {
		this.fullPriceReduction = fullPriceReduction;
	}

	public Integer getIsChain() {
		return isChain;
	}

	public void setIsChain(Integer isChain) {
		this.isChain = isChain;
	}

	public String getChainId() {
		return chainId;
	}

	public void setChainId(String chainId) {
		this.chainId = chainId;
	}
}
